Skip to content

PDFPage.SetCanvasPosition Method

SetCanvasPosition(PDFPageCanvasPosition)

Sets the position of the page canvas relative to existing page content.

C#
public void SetCanvasPosition(PDFPageCanvasPosition canvasPosition)

Parameters

canvasPosition PDFPageCanvasPosition

Position of the page canvas.

Remarks

If the page is newly created this method has no effect since there is no previous content. If the page has been extracted from a PDF file or has been created by loading a PDF file into a PDFFixedDocument then the page canvas can be under the existing page content or on top of existing page content (default).